<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>How the Library Works</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Doc-O-Matic" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link rel="STYLESHEET" href="default.css" type="text/css" />

<script type="text/javascript" src="scripts.js"></script>
</head>
<body class="Element700" onload="onBodyLoadEx('frames.html', 'topic', '00107.html');" onmousedown="onBodyMouseDown();">

<!-- Begin Popups -->

<!-- End Popups -->

<!-- Begin Page Header -->
<div class="Element710" id="areafixed">
<div class="Element94">
<a href="00007.html" target="topic">Driver Libraries Help</a> &gt; <a href="00109.html" target="topic">SDMMC Driver Library</a> &gt; <a href="00113.html" target="topic">Using the Library</a> &gt; <a href="00107.html" target="topic">How the Library Works</a></div>
<div class="Element92">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element1">
MPLAB Harmony Core Help</div>
</td><td width="25%">
<div class="Element2">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00007.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element90">
<a href="00101.html" target="topic">Previous</a> | <a href="00113.html" target="topic">Up</a> | <a href="00104.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element96">
<a href="mailto:docerrors@microchip.com&subject=MPLAB Harmony Documentation Feedback (Topic ID: DRV SDMMC How the Library Works Topic Title: How the Library Works)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table><div class="Element5">
How the Library Works</div>
</div>
</div>

<!-- End Page Header -->

<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">

<!-- Begin Page Content -->
<a name="PageContent"></a><div class="Element58">
<a name="4465736372697074696F6E"></a><div class="Element11">
<div class="Element10">
<p class="Element10">
<span style="color: #000000">The SDMMC driver is a multi-client, multi-instance buffer queue model based block driver interface.</span>&nbsp;</p>
<div class="Element15">
SDMMC Driver Features:</div>

<ul class="Element630">
<li class="Element600"><span style="color: #000000">Driver has a buffer queue which allows the capability of accepting multiple requests</span></li>
<li class="Element600">Driver can either have File-system as client or Application or USB as client</li>
<li class="Element600">Every transfer request expects data in blocks. Block details (<strong>Size and number of blocks</strong>) can be retrieved by <a href="00447.html" target="topic">DRV_SDMMC_GeometryGet</a>()</li>
<li class="Element600">Driver provides feature to register call back for transfer complete event, which can used by clients to get notified</li>
<li class="Element600">When SDMMC driver is connected to File System buffer queue is disabled as File system is blocking interface</li>
<li class="Element600">Works in both Bare-Metal and RTOS environment in Asynchronous mode
<ul class="Element631">
<li class="Element601"><strong>Bare-Metal:</strong>
<ul class="Element632">
<li class="Element602">A dedicated task routine <a href="00453.html" target="topic">DRV_SDMMC_Tasks</a>() is called from SYS_Tasks() to process the data from the instance queue</li>
</ul></li>
<li class="Element601"><strong>RTOS:</strong>
<ul class="Element632">
<li class="Element602">A dedicated thread is created for task routine <a href="00453.html" target="topic">DRV_SDMMC_Tasks</a>() to process the data from the instance queue</li>
</ul></li>
</ul></li>
<li class="Element600">API's return with a valid handle which can be used to check whether transfer request is accepted or not</li>
<li class="Element600">A Client specific handler will be called to indicate the status of transfer</li>
</ul></div>
</div>
</div>
<!-- End Page Content -->

<!-- Begin Page Footer -->
<div class="Element95">
<a href="00007.html" target="topic">Driver Libraries Help</a> &gt; <a href="00109.html" target="topic">SDMMC Driver Library</a> &gt; <a href="00113.html" target="topic">Using the Library</a> &gt; <a href="00107.html" target="topic">How the Library Works</a></div>
<div class="Element93">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element3">
MPLAB Harmony Core Help</div>
</td><td width="25%">
<div class="Element4">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00007.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element91">
<a href="00101.html" target="topic">Previous</a> | <a href="00113.html" target="topic">Up</a> | <a href="00104.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element97">
<a href="mailto:docerrors@microchip.com&subject=MPLAB Harmony Documentation Feedback (Topic ID: DRV SDMMC How the Library Works Topic Title: How the Library Works)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table></div>

<!-- End Page Footer -->
</div>
</div>

<!-- End Client Area -->
</body></html>